<?php
/**
 * 消息模块
 * Created by swagger_zxd.
 * User: zxd
 * Date: 2017/11/16
 * Time: 14:58
 */

Route::group(['middleware' => ['fcAdmin.login:admin', 'fcAdmin.permission', 'fcAdmin.auth']],function(){


    Route::name('notice.info.index')->get('info','NoticeController@test');

    //通知管理
    Route::name('notice.notice.index')->get('notice','NoticeController@index');
    Route::name('notice.notice.create')->get('notice/create','NoticeController@create');
    Route::name('notice.notice.edit')->get('notice/{id}/edit','NoticeController@edit');
    Route::name('notice.notice.show')->get('notice/{id}','NoticeController@show');
});